package org.java.desgin.patterns.factory;

public class LenovoComputerFactory extends AbstractFactory {

	@Override
	public Notebook createNotebook() {
		Notebook cpt = new Notebook();
		cpt.setCpu("i3-380");
		cpt.setRam("2G");
		cpt.setFactory("lenovo");
		return cpt;
	}

	@Override
	public Desktop createDesktop() {
		Desktop cpt = new Desktop();
		cpt.setCpu("i3-380");
		cpt.setRam("2G");
		cpt.setFactory("lenovo");
		return cpt;
	}

}
